//
// Created by "huxiao" on 2025/5/24 17:51
//

#ifndef FRAMEWORK_H
#define FRAMEWORK_H

#include <QMainWindow>
#include <QTimer>
#include "../baseFrame/BaseFrame.h"
#include "../titleBar/Titlebar.h"
#include "../center/Center.h"
#include "../statusBar/Statusbar.h"

QT_BEGIN_NAMESPACE

namespace Ui {
    class FrameWork;
}

QT_END_NAMESPACE

class FrameWork final : public BaseFrame {
    Q_OBJECT

public:
    explicit FrameWork(QWidget *parent = nullptr);

    ~FrameWork() override;

private:
    Ui::FrameWork *ui;

    TitleBar *m_pTitleBar;
    Center *m_pCenter;
    StatusBar *m_pStatusBar;

    void setStyle(const QString &, QWidget *) const;

    void styleInit();
};


#endif //FRAMEWORK_H
